Shadow DRAM for programmable logic devices

ABSTRACT

A plurality of DRAM cells are used to store the state of the programmable points in the FPGA (&#34;FPGA DRAM cells&#34;). A shadow DRAM array holds duplicate data of the plurality of DRAM cells. A DRAM cell of the shadow DRAM array is sensed during a refresh cycle. In this manner the refresh cycle does not alter the logic configuration of its associated FPGA DRAM cell.

BACKGROUND OF THE INVENTION

1. Technical Field

The invention relates to a field programmable gate array, and more particularly, to a shadow DRAM circuit that is adapted to effect and maintain selected interconnection of various logic and other elements in a field programmable gate array.

2. Description of the Related Art

A field programmable gate array (FPGA) is a programmable integrated circuit logic device that consists of a matrix of configurable logic blocks (CLBs) embedded in a programmable routing mesh. The combined programming of the CLBs and routing network define the function of the device. The device is referred to as an FPGA because the array of CLBs contained on the device can be configured and interconnected by the user in the user's facility by means of special hardware and software.

FPGAs are well known in the art. For example U.S. Pat. No. RE 34,363, reissued on 31 Aug. 1993, describes a configurable logic array that includes a plurality of CLBs interconnected in response to control signals to perform a selected logic function, and in which a memory is used to store the particular data used to configure the CLBs. U.S. Pat. No. 4,642,487, issued on 10 Feb. 1987, teaches a special interconnect circuit for interconnecting CLBs in an FPGA without using the general interconnect structure of the FPGA. U.S. Pat. No. 4,706,216, issued on 10 Nov. 1987, describes a configurable logic circuit that includes a configurable combinational logic element, a configurable storage circuit, and a configurable output select logic circuit. U.S. Pat. No. 4,750,155, issued on 7 Jun. 1988, describes a five transistor memory cell for an FPGA that can be reliably read and written.

Each CLB can provide one or more of the functions provided by an AND gate, flip-flop, latch, inverter, NOR gate, exclusive OR gate, as well as combinations of these functions to form more complex functions. The particular function performed by the CLB is determined by control signals that are applied to the CLB from a control logic circuit. The control logic circuit is formed integrally with, and as part of, the integrated circuit on which the CLB is formed. If desired, control information can be stored and/or generated outside of this integrated circuit and transmitted to the CLB. The actual set of control bits provided to each CLB on the integrated circuit depends upon the functions that the CLB and, more globally, the integrated circuit are to perform.

Each CLB typically has a plurality of input and output pins, and a set of programmable interconnect points (PIPs) for each input and output pin. The general interconnect structure of the FPGA includes a plurality of interconnect segments and a plurality of PIPs, wherein each interconnect segment is connected to one or more other interconnect segments by programing an associated PIP. An FPGA also includes an access PIP that either connects an interconnect segment to an input pin or an output pin of the CLB.

Because the PIPs in the FPGA are programmable, any given output pin of a CLB is connectable to any given input pin of any other desired CLB. Thus, a specific FPGA configuration having a desired function is created by selected generation of control signals to configure the specific function of each CLB in an FPGA, together with selected generation of control signals to configure the various PIPs that interconnect the CLBs within the FPGA.

Each PIP typically includes a single pass transistor (i.e effectively a switch). The state of conduction, i.e. whether the switch is opened or closed, is controlled by application of the control signals discussed above to a transistor control terminal, e.g. a gate. The programmed state of each pass transistor is typically latched by a storage device, such as a static random access memory (SRAM) cell 100, illustrated in FIG. 1. As shown in FIG. 1, a high signal ADDR on address line 102 identifies the SRAM cell to be programmed by turning on an n-type pass transistor 104, thereby allowing the desired memory cell state DATA to be transferred from the data line 101 to a latch 106. The state of the control signal stored in the latch 106 determines whether a pass transistor (PIP) 109 is turned on or off, thereby opening or closing a path in the FPGA interconnect.

An SRAM cell is typically used as a storage device because the SRAM cell reliably maintains its value as long as power is supplied. However, as shown in FIG. 1, because SRAM cell 100 includes two inverters 107/108 and a pass transistor 104, SRAM cell 100 requires significant area on an integrated circuit. Typically, the larger the area needed to implement a PIP, the fewer number of PIPs that can be fit onto an integrated circuit.

In view of the continuing trend to increase the number of complex functions implemented by an FPGA, a need arises for a method to reduce the size of the memory cells used to hold the program for the FPGA interconnect, thereby reducing the size of the FPGA and lowering its cost. Further, smaller memory cells would permit larger capacity FPGAs to be built than were previously possible.

A dynamic random access memory (DRAM) cell, which is much smaller than an SRAM cell, has previously not been used in FPGAs for a number of reasons, including:

1. A DRAM cell is volatile and subject to alpha particle upsets that can change the state stored in the cell;

2. A DRAM must be periodically refreshed. Sensing the DRAM cell, for example to refresh the cell, destroys the current value in the cell; and

3. Nearby signals, or signals running over a DRAM cell, can affect the contents of the cell.

SUMMARY OF THE INVENTION

In accordance with the present invention, a plurality of DRAM cells are used to store the state of programmable points in the FPGA ("FPGA DRAM cells"). A shadow DRAM array holds duplicate data of the plurality of DRAM cells. Specifically, the shadow DRAM array is typically organized with the same number of bits and words as there are FPGA DRAM cells within the FPGA, i.e. there is a one-to-one correspondence between FPGA DRAM cells and shadow DRAM cells. A DRAM cell of the shadow DRAM array is sensed during a refresh cycle. In this manner the refresh cycle does not alter the logic configuration of its associated FPGA DRAM cell. In one embodiment, the shadow DRAM array is provided as a standard DRAM array in a separate location from the FPGA DRAM cells. In another embodiment, each shadow DRAM cell is provided at the same location as its associated FPGA DRAM cell.

The present invention significantly reduces area on the FPGA compared to the area required by prior art memory cells. Furthermore, the present invention also eliminates the need for separate power and ground lines that support prior art memory cells, thereby reducing the number of lines within the FPGA.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a schematic diagram of a prior art SRAM interconnect cell for an FPGA;

FIG. 2 is a schematic diagram of a DRAM interconnect cell for an FPGA;

FIG. 3 is a block schematic diagram of a DRAM interconnect control and refresh circuit for an FPGA in accordance with the present invention;

FIG. 4 is a schematic diagram of a prior art logic configuration circuit for an FPGA;

FIG. 5 is a schematic diagram of a logic configuration circuit for an FPGA in accordance with the present invention;

FIGS. 6a and 6b are block schematic diagrams of alternative embodiments of a portion of a storage element circuit in accordance with the present invention;

FIG. 7 is a block schematic diagram of a logic configuration circuit for an FPGA having a DRAM configuration element in accordance with the present invention; and

FIG. 8 is a block schematic diagram of another logic configuration circuit for an FPGA having a DRAM configuration element in accordance with the present invention.

DETAILED DESCRIPTION OF THE DRAWINGS

FIG. 2 illustrates a DRAM cell 200 for an FPGA in accordance with the present invention. As with SRAM cell 100 (FIG. 1), a high signal ADDR on an address line 202 turns on a first pass transistor 204, thereby allowing a DRAM cell 200 to be programmed. The state stored by DRAM cell 200 is set by a signal DATA supplied over a data line 201. Specifically, if both signals DATA and ADDR are high, then a capacitor 206 begins to charge. The charge stored in capacitor 206 sets the state of the control terminal of the second pass transistor 209, thereby opening or closing a path in the FPGA interconnect. Note that capacitor 206 is implemented either as a separate circuit structure or as the gate of second pass transistor 209.

The present invention significantly reduces area on the FPGA compared to the area required by SRAM cell 100 because DRAM cell 200 stores state information in capacitor 206 (one device), whereas SRAM cell 100 stores state information in latch 106 (four devices). DRAM cell 200 also eliminates the need for separate power and ground lines (not shown in FIG. 1) that support SRAM cell 100 in the prior art, thereby reducing the number of lines within the FPGA.

In accordance with the present invention, a plurality of DRAM cells are used to control the FPGA interconnect circuitry. Another DRAM array performs a shadow DRAM function. The shadow DRAM is typically organized with the same number of bits and words as there are DRAM interconnect cells within the FPGA, i.e. there is a one-to-one correspondence between FPGA DRAM interconnect cells and shadow DRAM cells. The shadow DRAM cells are the same as DRAM cell 200 (FIG.2), with the exception that pass transistor 209 is not required because the shadow DRAM has no control function.

As is well known to those in the art, while an SRAM cell maintains the state of its contents as long as power is supplied, a DRAM cell needs periodic refreshing. FIG. 3 illustrates a DRAM interconnect control and refresh circuit 300 for an FPGA according to the present invention. A refresh cycle on a data word of the FPGA interconnect DRAM includes the following steps:

1. Initially, a conventional address sequencer and decoder 303 (hereinafter "sequencer") pulls one shadow DRAM address line 302 high to select one word of a shadow DRAM array 301. The contents of shadow DRAM array 301 for the current data word are sensed by a conventional sense circuit 308, and read into a data register 309.

2. The contents of data register 309 are written back into the shadow DRAM array 301 via tri-state buffer 306 (after passing through error detection and correction circuit 307) and are written into the FPGA interconnect DRAM (hereinafter FPGA DRAM) 310 via data line 311 to refresh FPGA DRAM 310. Shadow DRAM array 301 and FPGA DRAM 310 are written to simultaneously, independently, or at different intervals, as desired. A preferred embodiment of the present invention provides a simultaneous shadow DRAM and interconnect DRAM refresh sequence. In that embodiment, sequencer 303 provides address information via lines 302 to shadow DRAM array 301 and via lines 312 to FPGA DRAM 310.

3. A low DATA VALID signal generated by a data valid circuit 305, is provided to an AND gate 304 to force the signal on line 312 low. The DATA VALID signal is generated to remain low until the data read out of shadow DRAM array 301 is latched into data register 309, provided to error detection and correction circuit 307, and propagated to the memory cells in FPGA DRAM 310. A high DATA VALID signal, provided to tri-state buffer 306, allows the transfer of the data held in data register 309 back into shadow DRAM array 301.

Thus, the generation of the DATA VALID signal takes into consideration all internal timing and propagation considerations of the FPGA before FPGA DRAM 310 is refreshed, thereby ensuring that correct data is available to FPGA DRAM 310. In this manner, the contents of FPGA DRAM 310 are not destroyed during the interval when the cell is written. A high DATA VALID signal, indicating valid data, and a corresponding high signal on one of address lines 302 forces the output signal from AND gate 34 (i.e. on line 312) high, thereby triggering a refresh cycle and allowing data to be written into the cells of FPGA DRAM 310. Note that this high DATA VALID signal, provided to tri-state buffer 306, permits transfer of the data held in data register 309 to shadow DRAM array 301.

4. Sequencer 303 which controls the refresh sequence continuously cycles through all addresses to ensure that all DRAM interconnect cells are regularly refreshed.

In this embodiment of the present invention, DRAM interconnect control and refresh circuit 300 includes an error detection and correction circuit 307 that minimizes data integrity problems associated with alpha particle hits and other data disturbances of shadow DRAM array 301. Further description of the codes associated with this conventional circuit is provided in "Digital Design Principles and Procedures" by J. F. Wakerly, pages 34-44, 1990, which is herein incorporated by reference. Although shown in connection with the preferred embodiment of the invention, error detection and correction circuit 37 is considered optional.

In contrast to FPGA DRAM 310 which provides a single storage cell at each PIP and therefore is distributed throughout the FPGA, shadow DRAM array 301 is preferably a standard DRAM array and can therefore be very dense. Shadow DRAM array 301 is typically built far enough away from lines that carry currents sufficiently high to cause DRAM storage problems. In this manner, the contents of shadow DRAM array 301 are not disturbed by any FPGA signal, thereby avoiding upset problems and other related interference that might affect the cells of shadow DRAM array 301. In this way, any errors introduced into the memory cells of FPGA DRAM 310, for example by the routing of various signals through the general interconnect of the FPGA, are readily corrected by shadow DRAM array 301 during the next refresh cycle. In another embodiment, each cell of the shadow DRAM array is built at the same location as its associated FPGA DRAM interconnect cell.

The preferred shadow memory array includes DRAM cells because of the compact size of such arrays. In one embodiment of an FPGA in accordance with the invention, a shadow DRAM array having approximately 100,000 cells is used. In other embodiments of the invention, the shadow memory array uses other technologies. For example, the shadow memory array could be an SRAM, EPROM, EEPROM, flash EPROM, or ferroelectric array. Although the shadow memory array is integrated onto the same die as the FPGA in typical embodiments of the invention, other shadow memory arrays are fabricated on a separate die. Finally, in yet another embodiment of the present invention, a shadow memory is provided for use with standard SRAM interconnect cells, such that these interconnect cells are periodically refreshed to repair any errors that resulted from factors such as power surges.

The present invention is also intended for other applications in programmable or configurable devices in which a logic state is set and stored. For example, FIG. 4 illustrates a prior art logic configuration circuit that includes a plurality of storage elements 400 which store logic states A, B, C and D. These logic states, which determine the logic function performed by the circuit, are provided to a multiplexer 401 via lines 402, 403, 404 and 405. Multiplexer 401 consists of a first set of transistors 410, 411, 412, 413 that are controlled by signal I1 provided on a first input line 407, and a second set of transistors 414, 415 that are controlled by a signal I2 provided on a second input line 408. The signals on first input line 407 and second input line 408 select the logic state bit that is the function value on output line 406. For example, assume logic states B, C, and D are a logic "0" and logic state A is a logic "1". Multiplexer 401 selects logic state A when both signals I1 and I2 are a logic "1", the function of the circuit is an AND gate because the function produces a logic "1" only when both inputs are a logic "1", and the circuit produces a logic "0" if either of the signals provided on input lines 407, 408 is otherwise.

Prior art storage elements 400 are typically SRAM cells and, as such, are relatively stable. However, as discussed above, SRAM cells require considerable area on an integrated circuit.

As is known in the art, a DRAM cell cannot source a current for a logic operation because drawing current from the DRAM cell depletes the charge stored in the cell and thus may change the state of the cell. Thus, a DRAM cell may only store a logic state. Therefore, if a DRAM cell is used for storage cell 400, the contents of the DRAM cell are lost when the cell is sensed. For example, a DRAM cell cannot drive an input line of a steering logic multiplexer and still retain its contents. Accordingly, in one embodiment of the invention, a DRAM cell controls a first multiplexer which in turn provides an input signal to a logic configuration multiplexer.

FIG. 5 illustrates a plurality of DRAM storage elements 500 and a logic configuration circuit 501. In this embodiment, DRAM storage elements 500 provide signals to the input terminals of a first multiplexer stage 509. Because storage elements 500 are DRAM cells, multiplexer stage 509 includes logic gates 510-515 rather than steering logic. Specifically, DRAM storage elements 500 control the gates of the transistors in logic gates 510-513. Multiplexer stage 509 is controlled by an input signal I1 provided on line 507 which in turn is also provided to logic gates 510-513. The output terminals of logic gates 510-513 are connected through OR gates 514, 515 to a second multiplexer stage 520 that includes transistors 520, 521. Based on the value of control signal I2, multiplexer 520 provides the selected signal on output line 506.

FIGS. 6a and 6b show alternative embodiments of storage elements 400 (FIG. 4). In FIG. 6a, a DRAM storage element 601 is shown having an output state 602 that is provided as a control signal to a multiplexer 603. Both input lines of multiplexer 603 are hardwired such that the state of DRAM storage element 601 controls the output signal of multiplexer 603, and therefore the output of storage circuit 600. FIG. 6b shows a DRAM storage element 621 having an output state 622 that is provided as a control signal to a multiplexer 623. As in FIG. 6a, both input lines of multiplexer 623 are hardwired such that the state of DRAM storage element 621 controls the output signal of multiplexer 623, and therefore the output signal of storage circuit 620.

In accordance with the embodiments of the invention shown in FIGS. 7 and 8, storage elements 400C and 400B include DRAM cells having an associated shadow DRAM cell (not shown), such as the shadow DRAM array 301 discussed above in reference to FIG. 3. In these embodiments, storage elements 400C and 400B are coupled to one of a plurality of address terminals on a programmable logic element, such as multiplexer 401.

Storage element 400C includes a DRAM cell 70 and a multiplexer 72. As shown in FIG. 7, multiplexer 72 is multiplexer 623 implemented as CMOS transistors and simplified to an inverter circuit that consists of a P-channel transistor 73 coupled to a voltage source Vdd and an N-channel transistor 74 coupled to a voltage source Vss, thereby ensuring a rail-to-rail voltage swing on line 404. Storage element 400B includes a DRAM cell 80 according to the invention and a multiplexer 81. In this embodiment of the invention, multiplexer 81 includes an N channel transistor 83 coupled to a voltage source Vss and a pull-up resistor 82 coupled to a voltage source Vdd, thereby ensuring a rail-to-rail voltage swing on line 403.

The use of a DRAM cell to configure a programmable logic element saves considerable area on an integrated circuit die by reducing significantly the number of transistors that must be formed on the die. As with the interconnect application for the invention, in some applications it may be desirable to include a shadow DRAM for the various DRAM cells that store the logic configuration state.

Although the invention is described herein with reference to various embodiments, those skilled in the art will readily appreciate that other configurations and applications may be substituted for those set forth herein without departing from the spirit and scope of the present invention. For example, referring to FIG. 3, another embodiment of the present invention includes a decompression circuit 320. Decompression circuit 320 uses any conventional decompression algorithms including, for example, Run-Length encoding or Huffman encoding which are explained in detail in R. Sedgewick, Algorithms, 283-284, Addison-Wesley, 1983 (incorporated herein by reference). In this embodiment, a plurality of switches as well as a plurality of memory cells associated with the switches are provided. Each memory cell is adapted to set and store one switch state. However, because of decompression circuit 320, the number of shadow memory cells is less than the number of memory cells in the FPGA. In another embodiment, the switch states are encoded in a plurality of shadow memory cells. Therefore, in that embodiment, the present invention includes a decryption circuit 321. Again, any conventional encryption/decryption method is acceptable including, for example, Vigenere cipher and RSA encryption which are explained in detail in Algorithms, 295-303 (also incorporated by reference). In yet another embodiment, during one memory access, address sequencer and decoder 303 uses only one line of shadow DRAM address lines 312, but uses multiple FPGA address lines 312. In other words, one shadow memory cell has an associated plurality of FPGA memory cells. The present invention is set forth in the appended claims. 

I claim:
 1. A circuit for implementing a programmable point in a programmable logic device, said circuit comprising:a switch; a memory cell associated with each switch, said memory cell adapted to set and store the state of said switch; and a volatile shadow memory cell associated with said memory cell, said volatile shadow memory cell adapted to store said state in parallel with said memory cell.
 2. The circuit of claim 1 wherein said memory cell comprises:a data line for providing a data signal to said programmable point; an address line for providing an address signal to said programmable point; a storage element; and a pass transistor coupled to said data and address lines and adapted to transfer said data signal to said storage element if said address signal is provided to said pass transistor, wherein said switch is operable in response to the state of the data signal stored by said storage element.
 3. The circuit of claim 2 wherein said storage element is a DRAM cell.
 4. The circuit of claim 2 wherein said storage element is integrated with said pass transistor.
 5. The circuit of claim 1 wherein said volatile shadow memory cell is a memory cell in a DRAM array.
 6. The circuit of claim 5 wherein said circuit further comprises a data register for storing shadow memory cell state during a refresh sequence.
 7. The circuit of claim 6 wherein said circuit further comprises an address sequencer for continuously addressing said volatile shadow memory cells and corresponding memory cells during said refresh sequence.
 8. The circuit of claim 7 wherein said circuit further comprises means for validating each address before each refresh sequence is commenced.
 9. The circuit of claim 8 wherein said means for validating comprises waiting until valid data is present at said memory cell.
 10. The circuit of claim 8 wherein said circuit further comprises means for detecting and correcting errors in said volatile shadow memory cells.
 11. A method for a programmable logic device, comprising the steps of:providing at least one switch; providing a memory cell associated with each switch, said memory cell adapted to set and store the state of said switch; and storing said state in parallel with said memory cell in a volatile shadow memory cell associated with said memory cell, such that a memory refresh cycle may be effected without loss of data that could alter the logic configuration of said programmable logic device.
 12. The method of claim 11 further comprising the step of:holding address lines of said programmable logic device at a logic zero "0" until valid data is present at said memory cells.
 13. The method of claim 12 wherein said address lines are held at a logic zero "0" by an AND gate.
 14. A programmable storage element for a configuration circuit in a programmable logic device, said storage element comprising:at least one DRAM memory cell associated with each configuration circuit, said DRAM memory cell adapted to store the logic state of a configuration signal; a multiplexer coupled to said DRAM memory cell to provide a logic one signal or a logic zero signal to said programmable logic device in response to the logic state stored in said DRAM memory cell; and a volatile shadow memory cell adapted to store said logic state stored in said DRAM memory cell in parallel with said DRAM memory cell, such that a configuration memory refresh cycle may be effected without loss of data that could alter the configuration of said programmable logic device.
 15. The storage element of claim 14 further comprising:a data line for providing a data signal to said DRAM memory cell; and an address line for providing an address signal to said DRAM memory cell.
 16. The storage element of claim 14 wherein said multiplexer comprises an inverter.
 17. The storage element of claim 16 wherein said inverter comprises an N-channel transistor and a P-channel transistor.
 18. The storage element of claim 16 wherein said inverter comprises a transistor and a pull-up resistor.
 19. The storage element of claim 14 wherein said multiplexer includes two hardwired data inputs, and further wherein said multiplexer is controlled by said DRAM memory cell.
 20. A circuit for implementing programmable points in a programmable logic device, said circuit comprising:a plurality of switches; a plurality of memory cells associated with said plurality of switches, each memory cell adapted to set and store the state of one switch; and a volatile shadow memory cell associated with said plurality of memory cells, said shadow memory cell adapted to store the states in parallel with said plurality of memory cells.
 21. A method for a programmable logic device, comprising the steps of:providing a plurality of switches; providing a plurality of memory cells associated with said plurality of switches, each memory cell adapted to set and store one switch state; and encoding the switch states in a plurality of volatile shadow memory cells.
 22. A method for a programmable logic device, comprising the steps of:providing a plurality of switches; providing a plurality of memory cells associated with said plurality of switches, each memory cell adapted to set and store one switch state; and compressing the switch states in a plurality of shadow memory cells, wherein the number of said plurality of volatile shadow memory cells is less than the number of said plurality of memory cells. 